<template>
	<view class="goods-content bg-active-color">
		<image class="goods-img" :src="item.imgUrl" mode=""></image>
		<view class="goods-text">
			<view class="goods-name">{{item.name}}</view>
			<view  class="content">{{item.attrs}}</view>
			<view class="f-active-color" style="font-size: 24rpx;">七天无理由退货</view>
		</view>
		<view style="font-size: 26rpx;">
			<view>￥{{item.pprice}}</view>
			<view class="f-color">*{{item.num}}</view>
		</view>
	</view>
</template>

<script>
export default {
	props:{
		item:Object,
		index:Number
	}
}
</script>

<style scoped>
.goods-content {
	padding: 10rpx 20rpx;
	display: flex ;
	justify-content: space-between;
	align-items: center;
}
.goods-text {
	width: 360rpx;
	padding: 0 10rpx;
	font-size: 26rpx;
}
.goods-name {
	font-size: 26rpx;
}
.content {
	font-size: 24rpx;
	color: #636263;
}
.goods-img {
	width: 200rpx;
	height: 200rpx;
}
</style>
